//This trigger is to call the Webservice for insert and update into Account Address
trigger HF_AccountAddressSync on Account_Address__c (after Insert, after Update) {
Set<Id> addId = new Set<ID>();

    for(Account_Address__c a:Trigger.new)
    {
        addId.add(a.Id);
    }
    system.debug('**********'+addId);
    If(addId!= null && addId.size()>0)
        if(trigger.isInsert && trigger.isAfter)
        {
            HF_ClientWSAccountAdd.AddAccountAddress(addId);
        }
        if(trigger.isUpdate && trigger.isAfter)
        {
            HF_ClientWSAccountAdd.UpdateAccountAddress(addId);
        }
 }